package com.imooc.miaosha.system.annotation;

import java.lang.annotation.*;

/**
 * @Author Mr. xyb
 * @Desc 限流注解
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface AccessLimit {


    int seconds();

    int maxCount();

    boolean needLogin() default true;

}
